package Test01;

public class Teacher extends Person{
    public Teacher(String name, String sex, int age) {
        super(name, sex, age);
    }
    public void work(){
        System.out.println(name+sex+age);
    }


}
